﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using QL_KhachSan.App_Code.DAL;
using QL_KhachSan.App_Code.OBJ;

namespace QL_KhachSan.App_Code.BUS
{
    class BUS_Hopdong
    {
        DAL_Hopdong dal_hopdong;
        public BUS_Hopdong() {
            dal_hopdong = new DAL_Hopdong();
        }
        public void add_hopdong(Hopdong hd) {
            dal_hopdong.add_hd(hd);
        }
        public void delete_hopdong(string query, SqlParameter[] p)
        {
            dal_hopdong.delete_hd(query, p);
        }
    }
}
